<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" %>
<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <title>这是第一个子页面的标题</title>
    <script type="text/javascript" src="js/jquery.js"></script>
    <script type="text/javascript" src="js/post_msg.js"></script>
</head>
<body>

<script type="text/javascript">

    $(function () {
        //window.parent.postMessage(document.title,"*"); //window.parent是父页面的window对象
        sendFrmMsg(window.parent, "setTitleVal", document.title);
    });
</script>
</body>
</html>